﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Home.Master" AutoEventWireup="true" CodeBehind="Services.aspx.cs" Inherits="ProjectHK3.Services" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>

        <asp:Panel ID="Panel1" runat="server" HorizontalAlign="Center">
            <asp:Label ID="Label1" runat="server" Font-Bold="True" ForeColor="#3300FF" Text="Service Name: "></asp:Label>
            <asp:Label ID="_lblServiceName" runat="server" Font-Bold="True" ForeColor="#FF3300" Text="Label"></asp:Label>
            <br />
            <asp:Label ID="Label2" runat="server" Font-Bold="True" ForeColor="#3300FF" Text="Details:"></asp:Label>
            <asp:Literal ID="_ltrDescription" runat="server"></asp:Literal>
            <br />
            <br />
            <asp:Label ID="Label3" runat="server" Font-Bold="True" ForeColor="#3300FF" Text="The Charge of Service"></asp:Label>
            <br />
            <asp:GridView ID="_grwFeePolicy" runat="server" HorizontalAlign="Center" OnSelectedIndexChanged="_grwFeePolicy_SelectedIndexChanged1">
                <Columns>
                    <asp:BoundField DataField="DISTANCE_FROM" HeaderText="Distance from (Km)" />
            <asp:BoundField DataField="DISTANCE_TO" HeaderText="Distance to (Km)" />
            <asp:BoundField DataField="FEE_PER_KM" HeaderText="Fee/ 1Km ($)" />
            <asp:BoundField DataField="WEIGHT_FROM" HeaderText="Weight from (Kg)" />
            <asp:BoundField DataField="WEIGHT_TO" HeaderText="Weight to (Kg)" />
            <asp:BoundField DataField="FEE_PER_KG" HeaderText="Fee/ 1Kg ($)" />
                </Columns>
            </asp:GridView>
            <br />
            <br />
            <br />
            <strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; Total Fee = (Fee/1Km) x Km&nbsp; + (Fee/1Kg)
            x Kg<br />
            <center>(If the weight or the distance is not in the chagre table, plus 5%<br />
            to this service)</center><br />
            <br />
        </strong><span style="color: #333300">&nbsp; Example:<br />
            <br />
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span id="result_box" class="short_text"><span style="background-color: rgb(255,255,255)" title="bạn gửi một gói hàng có trọng lượng là 12kg và khoảng cách là 30km">You send a package weight of 0.3Kg and a distance of 30km</span></span> &nbsp;&nbsp;&nbsp;<br />
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br />
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; with: <span style="color: #0000ff">
                Fee/1Km =&nbsp; 0.01 </span>$&nbsp; &nbsp;and&nbsp; &nbsp;<span style="color: #0000ff">Fee/1Kg = 0.05</span>$
            <br />
            <br />
            <br />
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; <span style="color: #ff3300">
                <span style="background-color: #ffff00">Total Fee </span>&nbsp; </span>&nbsp;
            : 30 x 0.01 + 0.3 x 0.05 = <span style="color: #ff0000">0.315</span> $<br />
            <br />
            <br />
            <br />
            <br />
        </span></span>
        </asp:Panel>

    </div>
</asp:Content>
